﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Sbook.Shopping
{
    public class ShoppingItem
    {
        public int ProductId { set; get; }
        public int Quantity { set; get; }
        public decimal Price
        {
            set;
            get;
        }

        public string PName
        {
            set;
            get;
        }
        public string UId { set; get; }

        public string PImg
        {
            set;
            get;
        }


        //public decimal DeliveryPrice;

        public decimal DeliveryPrice
        {
            get
            {
                return this.Quantity * this.Price;
            }

        }


    }
}